import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
const env = process.env.NODE_ENV;
const isDev = env === "development";
export default defineConfig({
  base: isDev ? "/" : "/guide/",
  server: {
    port: 3333,
  },
  plugins: [
    vue({
      reactivityTransform: true,
    }),
  ],
  build: {
    outDir: "./dist",
  },
});
